package com.example.array;

public class ArrayTest2 {
    public static void main(String[] args) {

        int [] index = new int[]{0,1,2,3,4,0,5,1,2,6,7};
        a:for(int i=0; i<index.length; i++){
            b:for(int x = 0; x<index.length; x++){
                if(x == 2){
                    break a;
                }
                System.out.print("X" + x );
            }
            System.out.println("i" + index[i]);
        }
    }
}
